New functions '(set-)window-cursor-type'
authorEshel Yaron <me@eshelyaron.com>
Sat, 27 Apr 2024 18:47:34 +0000 (20:47 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 May 2024 13:42:19 +0000 (15:42 +0200)
commit3b890bf2bd2fec54433f35d61e30542b3dadb612
treed7d99ccc4cdc502daaaccff9be24dd51d68109cf
parent6badb1260a5e5107887d244507a7289fa1a30a91
New functions '(set-)window-cursor-type'

* src/window.h (struct window): Add 'cursor_type' slot.
(wset_cursor_type): New inline function.
* src/xdisp.c (get_window_cursor_type): Consult 'cursor_type'.
* src/window.c (make_window): Initialize 'cursor_type' to t.
(Fset_window_cursor_type, Fwindow_cursor_type): New functions.
(syms_of_window): List their symbols.
* doc/lispref/windows.texi (Window Point): Document them.
* doc/lispref/frames.texi (Cursor Parameters): Mention
new 'set-window-cursor-type'.
* etc/NEWS: Announce new functions.  (Bug#70622)
doc/lispref/frames.texi
doc/lispref/windows.texi
etc/NEWS
src/window.c
src/window.h
src/xdisp.c